package org.pvt.model.data;

import org.jetbrains.annotations.NotNull;

/**
 * @author Pavel Talanov
 */
public final class IdAndNameDTO {
    public final long id;
    @NotNull
    public final String name;

    public IdAndNameDTO(long id, @NotNull String name) {
        this.name = name;
        this.id = id;
    }
}
